Passed
Push — develop ( c6dd2a...1f8334 )
by Paul
03:38
created

credits.js ➔ css   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
(function() {
2
	var css = function( args ) {
3
		var string = "font-size:{0};color:{1};padding:{2};line-height:24px;text-shadow:0 1px #000;background:#263238;text-decoration:none;";
4
		return string.replace( /{(\d+)}/g, function( match, number ) {
5
			return args[ number ];
6
		});
7
	};
8
	console.log(
0 ignored issues
show
Debugging Code introduced by
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
9
		"\n%cSite made with %c♥ %cby Paul Ryley\n%chttps://twitter.com/pryley\n%chttps://geminilabs.io%c\n\n",
10
		css(['12px', '#fff', '8px 0 8px 10px']),
11
		css(['12px', '#f44336', '8px 0']),
12
		css(['12px', '#fff', '8px 10px 8px 0']),
13
		css(['11px', '#90caf9', '5px']),
14
		css(['11px', '#90caf9', '8px 5px']),
15
		""
16
	);
17
}());
18